package com.mogu.blogs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author muxiaofeng
 * @Date 2020/6/18 16:08.
 */
@Data
public class BlogTagSort {

    //博客uid
    private String uid;

    //博客标题
    private String title;

    //博客创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //作者
    private String author;

    //tag标签名
    private String content;

    //sort分类名
    private String sortName;
}
